package org.yoao.crm.business.service;

import java.util.List;
import java.util.Map;

import org.yoao.crm.struts.form.UserForm;

/**
 * @author yxwonline.com
 * @description 
 * @date 2010-7-27 下午09:41:05
 */
public interface IUserService {
	public List view(int startRow, int endRow, Map map) throws Exception;
	public UserForm add(UserForm form) throws Exception;
	public UserForm modify(UserForm from) throws Exception;
	public void delete(String id) throws Exception;
	public void audit(String id, String type) throws Exception;
	public int getDataCount(Map map) throws Exception;
	public UserForm getUser(String id) throws Exception;
	
	public String getRoleByUser(String userSno) throws Exception;
	
	public String modifyPassWord(String nickName, String userName, String opassWord, String npassWord)throws Exception;
}